package com.hl233.gateway;

import com.hl233.common.config.FeignTimerConfigInterceptor;
import com.hl233.gateway.properties.AuthProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 张振强15065206763
 * @create 2024-09-13
 */
@EnableFeignClients(basePackages ={"com.hl233.common.feign"},defaultConfiguration = FeignTimerConfigInterceptor.class)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }
}
